﻿using System.Collections.Generic;

namespace SellAndBuy.Application.Query.DTOs
{
    /// <summary>
    /// Item Category
    /// </summary>
    public class ItemCategoryDTO
    {
        private readonly IList<ItemConditionDTO> _availableConditions = new List<ItemConditionDTO>();

        /// <summary>
        /// Name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Get all available coditions of this category
        /// </summary>
        public IEnumerable<ItemConditionDTO> AvailableConditions { get { return _availableConditions; } }
    }
}
